# time_capsule/urls.py
from django.contrib import admin
from django.urls import path, include
from django.conf import settings
from django.conf.urls.static import static

print("Main urls.py loaded")  # 添加调试输出

urlpatterns = [
    path('admin/', admin.site.urls),
    path('', include('capsules.urls')),
    path('accounts/', include('django.contrib.auth.urls')),
    path('admin/', admin.site.urls),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)